Optimal. Leaf size=88 \[ \frac {b \sqrt {x}}{4 c^7}+\frac {b x^{3/2}}{12 c^5}+\frac {b x^{5/2}}{20 c^3}+\frac {b x^{7/2}}{28 c}-\frac {b \tanh ^{-1}\left (c \sqrt {x}\right )}{4 c^8}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6037, 52, 65,
212} \begin {gather*} \frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right )-\frac {b \tanh ^{-1}\left (c \sqrt {x}\right )}{4 c^8}+\frac {b \sqrt {x}}{4 c^7}+\frac {b x^{3/2}}{12 c^5}+\frac {b x^{5/2}}{20 c^3}+\frac {b x^{7/2}}{28 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 212
Rule 6037
Rubi steps
\begin {align*} \int x^3 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right ) \, dx &=\frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right )-\frac {1}{8} (b c) \int \frac {x^{7/2}}{1-c^2 x} \, dx\\ &=\frac {b x^{7/2}}{28 c}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right )-\frac {b \int \frac {x^{5/2}}{1-c^2 x} \, dx}{8 c}\\ &=\frac {b x^{5/2}}{20 c^3}+\frac {b x^{7/2}}{28 c}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right )-\frac {b \int \frac {x^{3/2}}{1-c^2 x} \, dx}{8 c^3}\\ &=\frac {b x^{3/2}}{12 c^5}+\frac {b x^{5/2}}{20 c^3}+\frac {b x^{7/2}}{28 c}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right )-\frac {b \int \frac {\sqrt {x}}{1-c^2 x} \, dx}{8 c^5}\\ &=\frac {b \sqrt {x}}{4 c^7}+\frac {b x^{3/2}}{12 c^5}+\frac {b x^{5/2}}{20 c^3}+\frac {b x^{7/2}}{28 c}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right )-\frac {b \int \frac {1}{\sqrt {x} \left (1-c^2 x\right )} \, dx}{8 c^7}\\ &=\frac {b \sqrt {x}}{4 c^7}+\frac {b x^{3/2}}{12 c^5}+\frac {b x^{5/2}}{20 c^3}+\frac {b x^{7/2}}{28 c}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right )-\frac {b \text {Subst}\left (\int \frac {1}{1-c^2 x^2} \, dx,x,\sqrt {x}\right )}{4 c^7}\\ &=\frac {b \sqrt {x}}{4 c^7}+\frac {b x^{3/2}}{12 c^5}+\frac {b x^{5/2}}{20 c^3}+\frac {b x^{7/2}}{28 c}-\frac {b \tanh ^{-1}\left (c \sqrt {x}\right )}{4 c^8}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}\left (c \sqrt {x}\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 114, normalized size = 1.30 \begin {gather*} \frac {b \sqrt {x}}{4 c^7}+\frac {b x^{3/2}}{12 c^5}+\frac {b x^{5/2}}{20 c^3}+\frac {b x^{7/2}}{28 c}+\frac {a x^4}{4}+\frac {1}{4} b x^4 \tanh ^{-1}\left (c \sqrt {x}\right )+\frac {b \log \left (1-c \sqrt {x}\right )}{8 c^8}-\frac {b \log \left (1+c \sqrt {x}\right )}{8 c^8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 87, normalized size = 0.99
method | result | size |
derivativedivides | \(\frac {\frac {c^{8} x^{4} a}{4}+\frac {b \,c^{8} x^{4} \arctanh \left (c \sqrt {x}\right )}{4}+\frac {c^{7} x^{\frac {7}{2}} b}{28}+\frac {b \,c^{5} x^{\frac {5}{2}}}{20}+\frac {b \,c^{3} x^{\frac {3}{2}}}{12}+\frac {b c \sqrt {x}}{4}+\frac {b \ln \left (c \sqrt {x}-1\right )}{8}-\frac {b \ln \left (1+c \sqrt {x}\right )}{8}}{c^{8}}\) | \(87\) |
default | \(\frac {\frac {c^{8} x^{4} a}{4}+\frac {b \,c^{8} x^{4} \arctanh \left (c \sqrt {x}\right )}{4}+\frac {c^{7} x^{\frac {7}{2}} b}{28}+\frac {b \,c^{5} x^{\frac {5}{2}}}{20}+\frac {b \,c^{3} x^{\frac {3}{2}}}{12}+\frac {b c \sqrt {x}}{4}+\frac {b \ln \left (c \sqrt {x}-1\right )}{8}-\frac {b \ln \left (1+c \sqrt {x}\right )}{8}}{c^{8}}\) | \(87\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 86, normalized size = 0.98 \begin {gather*} \frac {1}{4} \, a x^{4} + \frac {1}{840} \, {\left (210 \, x^{4} \operatorname {artanh}\left (c \sqrt {x}\right ) + c {\left (\frac {2 \, {\left (15 \, c^{6} x^{\frac {7}{2}} + 21 \, c^{4} x^{\frac {5}{2}} + 35 \, c^{2} x^{\frac {3}{2}} + 105 \, \sqrt {x}\right )}}{c^{8}} - \frac {105 \, \log \left (c \sqrt {x} + 1\right )}{c^{9}} + \frac {105 \, \log \left (c \sqrt {x} - 1\right )}{c^{9}}\right )}\right )} b \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 89, normalized size = 1.01 \begin {gather*} \frac {210 \, a c^{8} x^{4} + 105 \, {\left (b c^{8} x^{4} - b\right )} \log \left (-\frac {c^{2} x + 2 \, c \sqrt {x} + 1}{c^{2} x - 1}\right ) + 2 \, {\left (15 \, b c^{7} x^{3} + 21 \, b c^{5} x^{2} + 35 \, b c^{3} x + 105 \, b c\right )} \sqrt {x}}{840 \, c^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{3} \left (a + b \operatorname {atanh}{\left (c \sqrt {x} \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 359 vs.
\(2 (64) = 128\).
time = 0.44, size = 359, normalized size = 4.08 \begin {gather*} \frac {1}{4} \, a x^{4} + \frac {2}{105} \, b c {\left (\frac {\frac {105 \, {\left (c \sqrt {x} + 1\right )}^{6}}{{\left (c \sqrt {x} - 1\right )}^{6}} - \frac {315 \, {\left (c \sqrt {x} + 1\right )}^{5}}{{\left (c \sqrt {x} - 1\right )}^{5}} + \frac {770 \, {\left (c \sqrt {x} + 1\right )}^{4}}{{\left (c \sqrt {x} - 1\right )}^{4}} - \frac {770 \, {\left (c \sqrt {x} + 1\right )}^{3}}{{\left (c \sqrt {x} - 1\right )}^{3}} + \frac {609 \, {\left (c \sqrt {x} + 1\right )}^{2}}{{\left (c \sqrt {x} - 1\right )}^{2}} - \frac {203 \, {\left (c \sqrt {x} + 1\right )}}{c \sqrt {x} - 1} + 44}{c^{9} {\left (\frac {c \sqrt {x} + 1}{c \sqrt {x} - 1} - 1\right )}^{7}} + \frac {105 \, {\left (\frac {{\left (c \sqrt {x} + 1\right )}^{7}}{{\left (c \sqrt {x} - 1\right )}^{7}} + \frac {7 \, {\left (c \sqrt {x} + 1\right )}^{5}}{{\left (c \sqrt {x} - 1\right )}^{5}} + \frac {7 \, {\left (c \sqrt {x} + 1\right )}^{3}}{{\left (c \sqrt {x} - 1\right )}^{3}} + \frac {c \sqrt {x} + 1}{c \sqrt {x} - 1}\right )} \log \left (-\frac {\frac {c {\left (\frac {c \sqrt {x} + 1}{c \sqrt {x} - 1} + 1\right )}}{\frac {{\left (c \sqrt {x} + 1\right )} c}{c \sqrt {x} - 1} - c} + 1}{\frac {c {\left (\frac {c \sqrt {x} + 1}{c \sqrt {x} - 1} + 1\right )}}{\frac {{\left (c \sqrt {x} + 1\right )} c}{c \sqrt {x} - 1} - c} - 1}\right )}{c^{9} {\left (\frac {c \sqrt {x} + 1}{c \sqrt {x} - 1} - 1\right )}^{8}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.43, size = 86, normalized size = 0.98 \begin {gather*} \frac {\frac {b\,c^3\,x^{3/2}}{12}-\frac {b\,\mathrm {atanh}\left (c\,\sqrt {x}\right )}{4}+\frac {b\,c^5\,x^{5/2}}{20}+\frac {b\,c^7\,x^{7/2}}{28}+\frac {b\,c\,\sqrt {x}}{4}}{c^8}+\frac {b\,\left (105\,x^4\,\ln \left (c\,\sqrt {x}+1\right )-105\,x^4\,\ln \left (1-c\,\sqrt {x}\right )\right )}{840}+\frac {a\,x^4}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________